package com.joizhang.reactor.framework;

import java.nio.channels.SelectionKey;

/**
 * @author joizhang
 */
public interface Dispatcher {

    void onChannelReadEvent(AbstractNioChannel channel, Object readObject, SelectionKey key);

    void stop() throws InterruptedException;

}
